package com.yunban.project.api.text_check.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2024-11-21
 * @version: 1.0
 */
@Data
@Schema(description = "纠错词典响应参数")
public class CorrectionDictResp implements Serializable {

    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "错误词句")
    private String errorWord;

    @Schema(description = "正确词句")
    private String correctWord;

    @Schema(description = "来源")
    private String source;

    @Schema(description = "是否启用")
    private boolean enabled;
}
